package com.xiaoma.chat.dto;

import org.apache.commons.lang.StringUtils;

public class UserMetaData {

    private String name;
    private String nickname;
    private String portraitUri;
    
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getPortraitUri() {
        return portraitUri;
    }
    public void setPortraitUri(String portraitUri) {
        this.portraitUri = portraitUri;
    }
    public String getNickname() {
        return nickname;
    }
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
    public boolean validate() {
        return StringUtils.isNotEmpty(this.name);
    }
    
}
